<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- viewport视口 -->
    <!-- layout-width == device-width -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/bootstrap.css">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
</head>
<body>
    <style>
        .container{
            background-color: red;
        }
        [class^="col"]{
            height: 50px;
            border: 1px solid #333;
        }
    </style>
    <!-- 栅格将屏幕等分成立12等分
        device  width           container  column
        phone   786px           100%       col-xs
        pad     768px<w<992px   750px      col-sm
        pc      width>992px     970px      col-md
     -->
    <!-- <div class="container">
        <div class="col-xs-4 col-sm-3 col-md-1"></div>
        <div class="col-xs-4 col-sm-3 col-md-3"></div>
        <div class="col-xs-4 col-sm-3 col-md-5"></div>
        <div class="col-xs-4 col-sm-3 col-md-3"></div>
    </div> -->

    <div class="container">
        <div class="row">
            <div class="col-md-4 col-xs-3 col-sm-6"></div>
            <div class="col-md-4 col-xs-3 col-sm-6"></div>
            <div class="col-md-4 col-xs-3"></div>
            <div class="col-xs-3"></div>
        </div>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js" integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ" crossorigin="anonymous"></script>
    <script src="./js/bootstrap.js"></script>
</body>
</html>